﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using DoAn.BUS;

namespace DoAn.User_Control_NguoiDung
{
    public partial class LoadSanPham_2TieuChi : System.Web.UI.UserControl
    {
        DataTable dt = SanDauGiaBUS.loadtopnew();
        DataTable dt1 = SanDauGiaBUS.loadtopSan();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            { 
                //load top new
                load();
            }
        }
        void load()
        {
            DataList2.DataSource = dt;
            DataList2.DataBind();
            DataList3.DataSource = dt1;
            DataList3.DataBind();
        }
        protected void ASPxPageControl1_TabClick(object source, DevExpress.Web.ASPxTabControl.TabControlCancelEventArgs e)
        {
            
        }

        protected void ASPxPageControl1_ActiveTabChanged(object source, DevExpress.Web.ASPxTabControl.TabControlEventArgs e)
        {

        }
    }
}